home *** CD-ROM | disk | FTP | other *** search
Text File | 1998-10-22 | 824 b | 25 lines | [TEXT/MSWD] |
- convert-to-chromatic symbols from-scale
-
- It is a lot easier to write functions if you don't have
- to think about dealing with transposed symbols like
- '(a (-1 b c) d) so with this function you can convert
- symbols to chromatic symbols for processing.
- To get it right you need to state what tonality you
- are converting from with from-scale.
- After processing you can always convert back again with
- change-to-new-tonality.
-
- (convert-to-chromatic '(a (-2 b) = (-1 c d e) b = (-1 f d a) (-2 b)) '(blues1 c 5))
- ->(a b = egh d = jga b)
-
- (this is just an example since symbol-transpose works fine
- with transposed notes)
-
- (symbol-transpose 1 '(a b = egh d = jga b))
- ->(b c = fhi e = khb c)
-
- (change-to-new-tonality '(b c = fhi e = khb c)
- '(chromatic c 5) '(blues1 c 5))
- ->((-2 b) (-1 b) = (c e -2 f) (-1 c) = (f e -2 b) (-1 b))
-
-